package com.ruoyi.purchase.domain;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * qualityInfo对象 quality_info
 * 
 * @author kevinness
 * @date 2025-01-15
 */
public class QualityInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 质检编号 */
    private String inspectionNo;

    /** 订单编号 */
    @Excel(name = "订单编号")
    private String orderNo;

    /** 质检类型（出货、出港、进港） */
    @Excel(name = "质检类型", readConverterExp = "出货、出港、进港")
    private String inspectionType;

    /** 检验时间 */
    @Excel(name = "检验时间")
    private String inspectionTime;

    /** 检验机构 */
    @Excel(name = "检验机构")
    private String inspectionAgency;

    /** 检验人员 */
    @Excel(name = "检验人员")
    private String inspector;

    /** 检验结果 */
    @Excel(name = "检验结果")
    private String inspectionResult;

    /** 报告附件 */
    @Excel(name = "报告附件")
    private String reportAttachment;

    /** 备注 */
    @Excel(name = "备注")
    private String remarks;

    public void setInspectionNo(String inspectionNo) 
    {
        this.inspectionNo = inspectionNo;
    }

    public String getInspectionNo() 
    {
        return inspectionNo;
    }
    public void setOrderNo(String orderNo) 
    {
        this.orderNo = orderNo;
    }

    public String getOrderNo() 
    {
        return orderNo;
    }
    public void setInspectionType(String inspectionType) 
    {
        this.inspectionType = inspectionType;
    }

    public String getInspectionType() 
    {
        return inspectionType;
    }
    public void setInspectionTime(String inspectionTime) 
    {
        this.inspectionTime = inspectionTime;
    }

    public String getInspectionTime() 
    {
        return inspectionTime;
    }
    public void setInspectionAgency(String inspectionAgency) 
    {
        this.inspectionAgency = inspectionAgency;
    }

    public String getInspectionAgency() 
    {
        return inspectionAgency;
    }
    public void setInspector(String inspector) 
    {
        this.inspector = inspector;
    }

    public String getInspector() 
    {
        return inspector;
    }
    public void setInspectionResult(String inspectionResult) 
    {
        this.inspectionResult = inspectionResult;
    }

    public String getInspectionResult() 
    {
        return inspectionResult;
    }
    public void setReportAttachment(String reportAttachment) 
    {
        this.reportAttachment = reportAttachment;
    }

    public String getReportAttachment() 
    {
        return reportAttachment;
    }
    public void setRemarks(String remarks) 
    {
        this.remarks = remarks;
    }

    public String getRemarks() 
    {
        return remarks;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("inspectionNo", getInspectionNo())
            .append("orderNo", getOrderNo())
            .append("inspectionType", getInspectionType())
            .append("inspectionTime", getInspectionTime())
            .append("inspectionAgency", getInspectionAgency())
            .append("inspector", getInspector())
            .append("inspectionResult", getInspectionResult())
            .append("reportAttachment", getReportAttachment())
            .append("remarks", getRemarks())
            .toString();
    }
}
